#include "stdafx.h"
#include ".\masterserversession.h"
#include "PacketHandler.h"
//#include "PacketStruct_MP.h"
#include "ServerSessionManager.h"
#include "ServerSession.h"
#include <PacketStruct_AM.h>
#include <Protocol_AM.h>

MasterServerSession::MasterServerSession(void)
{
}

MasterServerSession::~MasterServerSession(void)
{
}

VOID MasterServerSession::OnConnect( BOOL bSuccess, DWORD dwSessionIndex )
{
	ServerSession::OnConnect( bSuccess, dwSessionIndex );
	if( bSuccess )
	{
	}
}

VOID MasterServerSession::OnRecv( BYTE * pMsg, WORD wSize )
{
	g_PacketHander.ParsePacket_AM( this, (MSG_BASE *)pMsg, wSize );
}
